/* 样式文件 */
body {
    font-family: "Microsoft Yahei", sans-serif;
    background-color: #f0e68c;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 700px;
    padding: 20px;
    box-sizing: border-box;
}

h1 {
    text-align: center;
    color: #2f4f4f;
}

.game-info {
    text-align: center;
    margin: 10px 0;
    font-size: 1.2em;
}

#game-board {
    display: block;
    margin: 20px auto;
    background-color: #deb887;
    border: 2px solid #3b3b3b;
    cursor: pointer;
}

.game-controls {
    text-align: center;
    margin: 15px 0;
}

.game-controls button {
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 1em;
    cursor: pointer;
}

.game-status {
    text-align: center;
    margin-top: 15px;
    font-size: 1.1em;
    min-height: 1.5em;
}

.board {
  display: grid;
  grid-template-columns: repeat(15, 30px);
  grid-gap: 2px;
  margin: 20px auto;
  padding: 10px;
  background-color: #deb887;
}

.board-row {
  display: contents;
}

.cell {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cell:hover {
  background-color: #f0e68c;
}

.black {
  background-color: black;
}

.white {
  background-color: white;
}

.status {
  text-align: center;
  margin-top: 20px;
  font-size: 18px;
}

button {
  margin-top: 10px;
  padding: 5px 10px;
  font-size: 16px;
  cursor: pointer;
}

.game-container {
  max-width: 600px;
  margin: 0 auto;
}
